In the realization of foundation , this paper discusses windows multithread processing and realization process of socket thoroughly , and researches working flow of voice network transmission . then the paper unifies preliminary audio function and callback function , and designs the data structures which can be used in voice transmission , in this way , audio data collection and audio broadcast can be realized . finally , the paper gives realization steps of audio compression and decompression 2 .在底層實現(xiàn)中,深入探討windows多線程處理和套接字實現(xiàn)過程,研究語音網(wǎng)絡(luò)傳輸?shù)墓ぷ髁鞒?結(jié)合低級音頻函數(shù)和回調(diào)函數(shù),設(shè)計音頻傳輸中將用到的數(shù)據(jù)結(jié)構(gòu),實現(xiàn)音頻數(shù)據(jù)采集和音頻播放;具體給出音頻壓縮和解壓縮的實現(xiàn)步驟。